<div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox">
        <h3 class="m-t-none m-b ">修改房屋</h3>
        <div class="ibox-content">
          <div>
            <div>
              <div class="form-group row">
                <label class="col-sm-1 col-form-label">所属区域</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.caId"  @change=_listEditGovCommunitys(editGovRoomInfo.caId)>
                    <option selected disabled value="">必填，请选择所属区域</option>
                    <option v-for="(item,index) in editGovRoomInfo.govCommunityAreas" :value="item.caId">
                      {{item.caName}}</option>
                  </select>
                </div>

                <label class="col-sm-1 col-form-label">所属小区</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.govCommunityId" @change=_listEditGovFloors(editGovRoomInfo.caId,editGovRoomInfo.govCommunityId)>
                    <option selected disabled value="">必填，请选择所属小区</option>
                    <option v-for="(item,index) in editGovRoomInfo.govCommunitys" :value="item.govCommunityId">
                      {{item.communityName}}</option>
                  </select>
                </div>

              </div>


              <div class="form-group row">
                <label class="col-sm-1 col-form-label">所属建筑物</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.govFloorId">
                    <option selected disabled value="">必填，请选择所属小区</option>
                    <option v-for="(item,index) in editGovRoomInfo.govFloors" :value="item.govFloorId">
                      {{item.floorName}}</option>
                  </select>
                </div>

                <label class="col-sm-1 col-form-label">房屋编号</label>
                <div class="col-sm-5">
                  <input v-model="editGovRoomInfo.roomNum" type="text" placeholder="必填，请填写房屋编号" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-1 col-form-label">区域地址</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.roomType">
                    <option selected disabled value="">必填，请选择区域地址</option>
                    <option value="3306">居住房屋</option>
                    <option value="3307">出租房屋</option>
                  </select>
                </div>

                <label class="col-sm-1 col-form-label">房屋面积</label>
                <div class="col-sm-5">
                  <input v-model="editGovRoomInfo.roomArea" type="text" placeholder="必填，请填写房屋面积" class="form-control">
                </div>

              </div>

              <div class="form-group row">
                <label class="col-sm-1 col-form-label">楼层</label>
                <div class="col-sm-5">
                  <input v-model="editGovRoomInfo.layer" type="text" placeholder="必填，请填写楼层" class="form-control">
                </div>
                <label class="col-sm-1 col-form-label">房屋地址</label>
                <div class="col-sm-5">
                  <textarea placeholder="必填，请填写房屋地址" class="form-control"
                    v-model="editGovRoomInfo.roomAddress"></textarea>
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-1 col-form-label">房屋产权</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.roomRight">
                    <option selected disabled value="">必填，请选择房屋产权</option>
                    <option value="1001">大产权</option>
                    <option value="2002">小产权</option>
                  </select>
                </div>

                <label class="col-sm-1 col-form-label">是否常住</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.isConservati">
                    <option selected disabled value="">必填，请选择是否常住</option>
                    <option value="Y">是</option>
                    <option value="N">不是</option>
                  </select>
                </div>
              </div>


              <div class="form-group row">

                <label class="col-sm-1 col-form-label">房主</label>
                <div class="col-sm-4">
                  <input v-model="editGovRoomInfo.ownerName" disabled="disabled" type="text" placeholder="选填，请填写房主" class="form-control">
                </div>
                <div class="col-sm-1">
                  <button type="button" class="btn btn-primary btn-sm" v-on:click="_openEditChooseGovOwnerModel()">
                    <i class="glyphicon glyphicon-search"></i> 选择
                </button>
                </div>

                <label class="col-sm-1 col-form-label">房主电话</label>
                <div class="col-sm-5">
                  <input v-model="editGovRoomInfo.ownerTel" disabled="disabled" type="text" placeholder="选填，请填写房主电话" class="form-control">
                </div>
              </div>

              <div class="form-group row">
                <label class="col-sm-1 col-form-label">是否落户</label>
                <div class="col-sm-5">
                  <select class="custom-select" v-model="editGovRoomInfo.isSettle">
                    <option selected disabled value="">必填，请选择是否落户</option>
                    <option value="Y">是</option>
                    <option value="N">不是</option>
                  </select>
                </div>
              </div>
              <div class="form-group row">
                <label class="col-sm-1 col-form-label">备注</label>
                <div class="col-sm-11">
                  <textarea placeholder="必填，请填写备注" class="form-control" v-model="editGovRoomInfo.ramark"></textarea>
                </div>
              </div>

              <div class="ibox-content">
                <button class="btn btn-primary float-right" type="button" v-on:click="editGovRoom()"><i
                    class="fa fa-check"></i>&nbsp;保存</button>
                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                  data-dismiss="modal" v-on:click="_closeEditGovOwnerModel()">取消</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>